﻿/* displays one city item below "cities" (defined in constants.KEY_SEED_CITIES) branch of Seed object
 */
using System;
using System.Collections.Generic;

namespace CSharp.Libs.Koc.KernelModels.ItemClasses
{
    public class SeedCityItem
    {
        private Int32 _intCityID = 0;
        private String _strCityName = "";
        private Int32 _intXCoord = 0;
        private Int32 _intYCoord = 0;
        private String _strProvinceID = "";
        private String _strMapTileID = "";
        private SeedCityResourcesItem _riResources = new SeedCityResourcesItem();
        private Dictionary<String, SeedCityKnightItem> _dicKnights = new Dictionary<String, SeedCityKnightItem>();
        private Int32 _intRallyPointLevel = 0;

        public Int32 RallyPointLevel
        {
            get
            {
                return _intRallyPointLevel;
            }
            set
            {
                _intRallyPointLevel = value;
            }
        }

        public Dictionary<String, SeedCityKnightItem> Knights
        {
            get
            {
                return _dicKnights;
            }
        }

        public SeedCityResourcesItem Resources
        {
            get
            {
                return _riResources;
            }
            set
            {
                _riResources = value;
            }
        }

        public String MapTileID
        {
            get
            {
                return _strMapTileID;
            }
            set
            {
                _strMapTileID = value;
            }
        }

        public String ProvinceID
        {
            get
            {
                return _strProvinceID;
            }
            set
            {
                _strProvinceID = value;
            }
        }

        public Int32 yCoord
        {
            get
            {
                return _intYCoord;
            }
            set
            {
                _intYCoord = value;
            }
        }

        public Int32 xCoord
        {
            get
            {
                return _intXCoord;
            }
            set
            {
                _intXCoord = value;
            }
        }

        public String CityName
        {
            get
            {
                return _strCityName;
            }
            set
            {
                _strCityName = value;
            }
        }

        public Int32 CityID
        {
            get
            {
                return _intCityID;
            }
            set
            {
                _intCityID = value;
            }
        }
    }
}
